﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPageAdmin.master"  AutoEventWireup="true" CodeFile="EditCategory.aspx.cs" Inherits="admin_EditCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form runat=server id="editCate">
<table border="0" cellpadding="0" cellspacing="0" width="100%">            
    <tr>	
     <td align="left"  valign="top">          
             <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">  
                <tr style="height:34px; background-color:#D4D4D4;font-weight:bold;color:#888888;margin-left:10px">                
                    <td colspan="2" style="height: 4px;" align="center" >        
                       Thông tin danh mục
                    </td>                
                </tr>
              
                 <tr style="padding-top: 10px; height: 30px">
                     <td align="right" class="rowContent" style="height: 30px">
                         Danh mục cha:&nbsp;
                     </td>
                     <td style="width: 80%; height: 30px;">
                         <asp:DropDownList ID="ddlCategory" runat="server" Width="162px">                        
                             <asp:ListItem Value="0">Danh mục cha</asp:ListItem>
                         </asp:DropDownList>
                      
                     </td>
                 </tr>
                <tr style="height:30px; padding-top:10px;">
                    <td class="rowContent"  align="right">
                        Tên danh mục:&nbsp;</td>
                    <td style="width: 80%">
                        <input id="txtCateName" runat="server" class="input" type="text" style="width: 48%; color:Black;" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCateName"
                            ErrorMessage="Bạn chưa nhập tên cho danh mục này" ToolTip="Bạn chưa nhập tên cho danh mục này"></asp:RequiredFieldValidator>
                       
                    </td>
                </tr>
                <tr style="height:30px;">
                    <td class="rowContent" align="right" style="height: 30px">
                        Liên kết tới :&nbsp;</td>
                    <td style="width: 80%; height: 30px;">
                    <input id="txtCateLink" runat="server" 
                    class="input" type="text" style="width: 48%; color:Black;" />
                    </td>
                </tr>                
                <tr style="height:30px;">
                    <td class="rowContent"  align="right" style="height: 30px">
                        Trạng thái:&nbsp;</td>                                            
                    <td style="width: 80%; height: 30px;">
                        &nbsp;
                        <asp:CheckBox ID="chkStatus" runat="server" Text="Hiển thị" />
                        </td>
                </tr>
                 <tr style="height:30px;">
                    <td colspan="3" align="right">&nbsp;</td>                    
                </tr>
                 <tr style="height:30px;">
                    <td class="rowContent"  align="right"></td>
                    <td style="width: 80%; height: 30px;" align="center">
						<input type="submit" value="Thêm" runat="server" id="btnAdd" onserverclick="btnAdd_Click" style="width: 73px"   onclick="return btnAdd_onclick()" /><input type="button" value="Quay lại"  id="btnBack"   />&nbsp;
						<input type="submit" value="Sửa" runat="server" id="btnEdit" onserverclick="btnEdit_Click" style="width: 73px" />
						<input type="reset" value="Hủy"   />
                    </td>
                </tr>
                   
            </table>
      </td>
    </tr>
    
</table>   
</form>

</asp:Content>